﻿namespace OMR.EasyBackup.Core.Watchers
{
    using OMR.EasyBackup.Core.EventArguments;
    using System;
    using System.IO;

    public abstract class WatcherBase : IWatcher
    {
        public EventHandler<FileCreatedEventArgs> OnFileCreated;
        
        public EventHandler<FileContentChangedEventArgs> OnFileContentChanged;
        
        public EventHandler<FileDeletedEventArgs> OnFileDeleted;
        
        public EventHandler<FileRenamedEventArgs> OnFileRenamed;
        
        public EventHandler<ErrorEventArgs> OnError;

        public abstract void Start();

        public abstract void Stop();
    }
}
